﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Devonline.Core;

/// <summary>
/// 证件类型
/// </summary>
[Description("证件类型")]
public enum CredentialType
{
    /// <summary>
    /// 身份证
    /// </summary>
    [Display(Name = "身份证")]
    IdCard,
    /// <summary>
    /// 护照
    /// </summary>
    [Display(Name = "护照")]
    Passport,
    /// <summary>
    /// 驾驶证
    /// </summary>
    [Display(Name = "驾驶证")]
    DrivingLicense,
    /// <summary>
    /// 其他
    /// </summary>
    [Display(Name = "其他")]
    Other
}